package com.doit.doc;

public class Student {
    static int number = 80;
    static String schoolName = "doit";
    // 静态代码块
    static {
        System.out.println("静态代码块被执行了~~");
        schoolName = "多易多易";
    }

    {
        System.out.println("代码块被执行了~~");
        schoolName = "多易多易1";
    }
}
